package net.lab1024.sa.admin.module.business.quotation.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import lombok.Data;
import net.lab1024.sa.base.common.json.deserializer.FileKeyVoDeserializer;
import net.lab1024.sa.base.common.json.serializer.FileKeyVoSerializer;

/**
 * 报价信息 列表VO
 *
 * @Author zzx
 * @Date 2025-08-07 19:37:04
 * @Copyright zzx
 */

@Data
public class QuotationVO {

    @Schema(description = "报价单id")
    private Integer quotationId;

    @Schema(description = "报价编码")
    private String quotationDateId;

    @Schema(description = "报价名称")
    private String quotationName;

    @Schema(description = "报价长度")
    private BigDecimal quotationLong;

    @Schema(description = "报价高度")
    private BigDecimal quotationHeight;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "禁用状态")
    private Integer disabledFlag;

    @Schema(description = "综合单价")
    private BigDecimal comprehensiveUnitPrice;

    @Schema(description = "下料数量")
    private Integer cuttingCount;

    @Schema(description = "计价方式")
    private Integer pricingType;

    @Schema(description = "图纸")
    @JsonSerialize(using = FileKeyVoSerializer.class)
    private String drawingPath;

}
